<template>
    <div>
        学习 vuex {{$store.state.count}}{{$store.getters.type}}
        <!-- <btn></btn> -->
        <!-- <show></show> -->
    </div>
</template>
<script>
// @ is an alias to /src  @ 相当于一个 绝对路径 C:/dfg/dfg/dfg.../src
// import show from './show'
// import btn from './button'
import {a,b} from '@/mixin/mixin'
export default {
    name: 'XXX',
    mixins:[b,a],// 假如属性冲突了 最后这个混入决定了冲突的最终结果
    data() {
        return {
            myplugin:666,
            name:"zhufeng"
        }
    },
    created() {
      console.log('app:',this)
      this.name = "珠峰";
      this.changeA()
    },
    components: {
        // show,btn
    }
}
</script>
<style lang="less">

</style>